/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.ismaila.designPatterns.behavioural.mediator.factories;

import za.ac.cput.ismaila.designPatterns.behavioural.mediator.*;

/**
 *
 * @author Chelsea
 */
public class AppFactory {

    public static Mediator createMediator() {
        return new Mediator();
    }

    public static SwedishBuyer createSwedishBuyer(Mediator mediator) {
        return new SwedishBuyer(mediator);
    }

    public static FrenchBuyer createFrenchBuyer(Mediator mediator) {
        return new FrenchBuyer(mediator);
    }

    public static AmericanSeller createAmericanSeller(Mediator mediator, float sellingPriceInDollars) {
        return new AmericanSeller(mediator,sellingPriceInDollars);
    }

    public static DollarConverter createDollarConverter(Mediator mediator) {
        return new DollarConverter(mediator);
    }
    
}
